package com.weitu.majorHazard.statisticsAnalysis.service;

import com.weitu.majorHazard.statisticsAnalysis.entity.ActivityRecordStatisticsAnalysis;
import com.weitu.majorHazard.statisticsAnalysis.entity.DeviceLevelStatisticsAnalysis;

import java.util.List;
import java.util.Map;

/**
 * Created by smp on 2017/4/24.
 */
public interface StatisticsAnalysisService {
    /**
     * 根据装置级别统计
     * @return
     */
    List<Map<String,Object>> analysisByLevel(Map<String,Object> map);
    ActivityRecordStatisticsAnalysis analysisByActivityRecord(Map<String,Object> map);

    int checkUserName(String name);
}
